import {
  NavBar,
  Form,
  Field,
  Button,
  Tabbar,
  TabbarItem,
  Search,
  Swipe,
  SwipeItem,
  Grid,
  GridItem,
  List,
  PullRefresh,
  Tag,
  GoodsAction,
  GoodsActionButton,
  GoodsActionIcon,
  SwipeCell,
  Card,
  Checkbox,
  CheckboxGroup,
  Stepper,
  SubmitBar,
  Icon,
  Cell,
  CellGroup,
  Dialog,
  Empty
} from 'vant'

export default {
  install (Vue) {
    Vue.use(Form)
    Vue.use(Field)
    Vue.use(NavBar)
    Vue.use(Button)
    Vue.use(Tabbar)
    Vue.use(TabbarItem)
    Vue.use(Search)
    Vue.use(Swipe)
    Vue.use(SwipeItem)
    Vue.use(Grid)
    Vue.use(GridItem)
    Vue.use(List)
    Vue.use(PullRefresh)
    Vue.use(Tag)
    Vue.use(GoodsAction)
    Vue.use(GoodsActionButton)
    Vue.use(GoodsActionIcon)
    Vue.use(SwipeCell)
    Vue.use(Card)
    Vue.use(Checkbox)
    Vue.use(CheckboxGroup)
    Vue.use(Stepper)
    Vue.use(SubmitBar)
    Vue.use(Icon)
    Vue.use(Cell)
    Vue.use(CellGroup)
    Vue.use(Dialog)
    Vue.use(Empty)
  }
}
